<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="copyright" content=""/>
  <meta name="keywords" content=""/>
  <meta name="description" content=""/>
  <title>403</title>
  <link rel="stylesheet" type="text/css" href="<%=path%>/css/public.css" />
  <link rel="stylesheet" type="text/css" href="<%=path%>/css/error.css" />
  <script src="${pageContext.request.contextPath}/hplus/js/jquery.min.js?v=2.1.4"></script>
</head>
<body class="s_body">
<script>
    //页面自加载方法
    $(function(){
        var iframes = $("iframe[name^='iframe']", window.parent.document);
        for(var i = 0; i < iframes.length; i++) {
            var a = iframes[i].name;
            if($("iframe[name='"+a+"']", window.parent.document).css("display") == 'inline') {
                var url = $("iframe[name='"+a+"']", window.parent.document)[0].src;
                if(url.substring(url.length - 1,url.length) == '0'){
                    $("#errorTwo").show();
                    $("#errorOne").hide();
                }else{
                    $("#errorTwo").hide();
                    $("#errorOne").show();
                }
            }
    }
    });

</script>
  <div id="errorOne" class="k_left">
    <p>抱歉！您没有访问该功能的权限，<br/>请联系管理员开通......</p>
    <a href="<%=basePath%>">返回首页</a>
  </div>
  <div id="errorTwo" class="k_left" style="display:none">
    <p>您需要先授权微信公众号到系统<br/>再尝试访问......<br/><br/>流程：“设置”->"社交媒体"->“微信授权”</p>
  </div>
  <div class="k_right">
    <img src="<%=path%>/images/500_img.png" />
  </div>     
</body>
</html>